from app.mysqlconfig.config import Base
from sqlalchemy import Column,Integer,String,DateTime
#建立表模型
class ad_click(Base):
    __tablename__ = 'ad_click'
    id = Column(Integer, primary_key=True)
    time=Column(Integer,nullable=True)
    slot=Column(String,nullable=True)
    key=Column(String,nullable=True)
    idfa=Column(String,nullable=True)
    ip=Column(String,nullable=True)
    ua=Column(String,nullable=True)
    updatedAt=Column(DateTime,nullable=True)
    createdAt=Column(DateTime,nullable=True)
    status=Column(Integer,nullable=True)
    created_at=Column(DateTime,nullable=True)

